/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lucava.metamodel.uspeed.visitor;

import lucava.metamodel.uspeed.AttributeElement;
import lucava.metamodel.uspeed.ClassElement;
import lucava.metamodel.uspeed.MethodElement;
import lucava.metamodel.uspeed.ParameterElement;
import lucava.metamodel.uspeed.RelationElement;
import lucava.metamodel.uspeed.UspeedDocument;

/**
 *
 * @author glenn
 */
public class AbstractElementVisitor implements IElementVisitor {

    @Override
    public void enterAttribute(AttributeElement element) {
        System.out.println("--> Attribute " + element.getName());
    }

    @Override
    public void enterMethod(MethodElement element) {
        System.out.println("--> Method " + element.getName());
    }

    @Override
    public void enterClass(ClassElement element) {
        System.out.println("Class " + element.getName());
    }

    @Override
    public void enterParameter(ParameterElement element) {
        System.out.println("-- --> Parameter " + element.getName());
    }

    @Override
    public void enterRelation(RelationElement element) {
        System.out.println("--> Relation " + element.getName());
    }

    @Override
    public void leaveAttribute(AttributeElement element) {
    }

    @Override
    public void leaveMethod(MethodElement element) {
    }

    @Override
    public void leaveClass(ClassElement element) {
    }

    @Override
    public void leaveParameter(ParameterElement element) {
    }

    @Override
    public void leaveRelation(RelationElement element) {
    }

    @Override
    public void enterDocument(UspeedDocument document) {
       
    }

    @Override
    public void leaveDocument(UspeedDocument document) {
       
    }
}
